﻿using System;


namespace SmellyCode
{
    public class LongMessageChainLover
    {
        Customer customer;

        public LongMessageChainLover()
        {
            customer = new Customer();
        }

        public double getTotalPrice()
        {
            double price = 0.99;
            bool isEuropean = customer.getAddress().getCountry().isInEurope();
            bool isNotEuropean = customer.getAddress().getCountry().isNotInEurope();

            Console.WriteLine("In Europe: "+isEuropean);
            Console.WriteLine("In Europe: " + isNotEuropean);
            if (isEuropean)
            {
                price = 9.99;
            }
            return price;
        }

    }
}
